#! /usr/bin/env python

import os
def defindex(path):
	dirl = os.listdir(path)
	lindex = []
	thefile = ''
	for file in dirl:
		if file.find("index") > -1:
			lindex.append(file)
	for index in lindex:
		if index.find(".py") > -1:
			thefile = index
			break
		thefile = index
	return thefile
	

def unquote(str):
	return str.replace("'","%39;")
